package top.xphu;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @author xphu
 * @version 1.0
 * @date 2021/11/11 11:59
 */
@SpringBootApplication
@EnableScheduling //启动异步任务
public class NettychatApplication {

    public static void main(String[] args) throws Exception{
        ConfigurableApplicationContext context = SpringApplication.run(NettychatApplication.class, args);
    }

}
